-- CALC_WOODEN_NOSE_PROP

-- 计算木头鼻子的基础属性
-- @param user 玩家对象
-- @param classId 装备id
return function(user, classId)
    local noseSize = ME.user:queryAttrib("nose_size");
    local props = {};
    local noseProps;

    if classId == 8255 then
        noseProps = {
            [10] = {200, "attack", 3, -1,},
            [20] = {200, "attack", 3, -1,},
            [30] = {200, "attack", 3, -1,},
            [40] = {200, "attack", 3, -1,},
            [50] = {41, "remote", 250, -1,},
        };
    else
        noseProps = {
            [10] = {200, "attack", 6, -1,},
            [30] = {200, "attack", 6, -1,},
            [50] = {41, "remote", 250, -1,},
            [70] = {41, "remote", 250, -1,},
            [90] = {41, "remote", 250, -1,},
            [99] = {43, "attack", 300, -1,},
        };
    end

    for size, prop in pairs(noseProps) do
        if noseSize >= size then
            table.insert(props, prop);
        end
    end

    return props;
end